package com.finance.system.accountbook.entity;

import com.finance.system.support.bean.BaseInbound;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
public class CashRecordInbound extends BaseInbound {
    private Long id;

    private Long userId;

    @ApiModelProperty(value = "支出金额")
    private BigDecimal amount;

    private LocalDateTime createAt;

    private String remark;

    @ApiModelProperty(value = "删除标记")
    private Integer deleteFlag = 0;

    @ApiModelProperty(value = "消费日期")
    private LocalDateTime consumeAt;

    @ApiModelProperty(value = "消费类型")
    private String consumeType;

    @ApiModelProperty(value = "结算标志")
    private Integer closeFlag = 0;

    @ApiModelProperty(value = "所属账本id")
    private Integer groupId;

    @ApiModelProperty(value = "参与人的id,用逗号分割")
    private String participant;

    public static void main(String[] args) {
        System.out.println(LocalDateTime.now());
    }
}




